<template>
    <el-table :data="data" style="width: 100%">
        <el-table-column prop="studentId" label="学号" sortable width="150">
        </el-table-column>
        <el-table-column prop="name" label="姓名">
        </el-table-column>
        <el-table-column prop="description" label="加分事件">
        </el-table-column>
        <el-table-column prop="score" label="申请分数" sortable width="150">
        </el-table-column>
        <el-table-column label="审核状态" width="80">
            <template slot-scope=" scope">
                <el-tag v-if="true" type="info">await</el-tag>
                <el-tag v-if="false" type="success">passed</el-tag>
                <el-tag v-if="false" type="warning">failed</el-tag>
            </template>
        </el-table-column>
        <el-table-column label="操作" width="130">
            <template slot-scope=" scope">
                <el-button type="success" icon="el-icon-check" circle></el-button>
                <el-button type="warning" icon="el-icon-close" circle></el-button>
            </template>
        </el-table-column>
    </el-table>
</template>

<script>
export default {
  data() {
    return {
      data: [
        { studentId: "1601050101", name: "张叉叉", description: "吔屎", score: -1 }
      ]
    };
  }
};
</script>

<style lang="scss" scoped>
</style>
